﻿<controls:ChildWindow x:Class="MedLink2011.Views.Patients.ChildWindows.PerinatalsAddCW"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:controls="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls"
mc:Ignorable="d"
xmlns:toolkit="http://schemas.microsoft.com/winfx/2006/xaml/presentation/toolkit"
Title="Perinatals"
Style="{StaticResource AccentChildWindowStyle}"
Background="AliceBlue"
xmlns:sdk="http://schemas.microsoft.com/winfx/2006/xaml/presentation/sdk">
<!--25 Fields --> 
<Grid x:Name="LayoutRoot" >

        <Border BorderBrush="#FF505050"  BorderThickness="2"  CornerRadius="10">
            <Border.Background>
                <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                    <GradientStop Color="#ED71A5D8" Offset="0.8" />
                    <GradientStop Color="AliceBlue" Offset="1.09" />
                </LinearGradientBrush>
          </Border.Background>

<ScrollViewer x:Name="scrollViewerPerinatals" VerticalScrollBarVisibility="Auto" HorizontalScrollBarVisibility="Auto" >
<Grid HorizontalAlignment="Left" x:Name="PerinatalsGrid" VerticalAlignment="Top">
<Grid.RowDefinitions>
<RowDefinition Height="32" />
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
    <ColumnDefinition Width="30" />
    <ColumnDefinition Width="Auto" />
    <ColumnDefinition Width="Auto" />
	<ColumnDefinition Width="50" />
	<ColumnDefinition Width="Auto" />
	<ColumnDefinition Width="Auto" />
    <ColumnDefinition Width="Auto" />
</Grid.ColumnDefinitions>


<StackPanel Grid.Column="1" Grid.Row="1" Orientation="vertical"  >
<TextBlock Height="20" Margin="0,5" ToolTipService.ToolTip="Perinatal Id" ToolTipService.Placement="Right" Text="Perinatal Id:"  Width="180" TextWrapping="Wrap" FontFamily="Portable User Interface" FontSize="11" TextTrimming="None" />
<TextBlock Height="20" ToolTipService.ToolTip="Prenatal Evaluations" ToolTipService.Placement="Right" Text="Prenatal Evaluations:"  Margin="0,5" Width="180" TextWrapping="Wrap" FontFamily="Portable User Interface" FontSize="11" TextTrimming="None" />
<TextBlock Height="20" ToolTipService.ToolTip="Gestational Weeks" ToolTipService.Placement="Right" Text="Gestational Weeks:"  Margin="0,5" Width="180" TextWrapping="Wrap" FontFamily="Portable User Interface" FontSize="11" TextTrimming="None" />
<TextBlock Height="20" ToolTipService.ToolTip="Abortion" ToolTipService.Placement="Right" Text="Abortion:"  Margin="0,5" Width="180" TextWrapping="Wrap" FontFamily="Portable User Interface" FontSize="11" TextTrimming="None" />
<TextBlock Height="20" ToolTipService.ToolTip="Placenta Retained" ToolTipService.Placement="Right" Text="Placenta Retained:"  Margin="0,5" Width="180" TextWrapping="Wrap" FontFamily="Portable User Interface" FontSize="11" TextTrimming="None" />
<TextBlock Height="20" ToolTipService.ToolTip="Vaginal Tearing" ToolTipService.Placement="Right" Text="Vaginal Tearing:"  Margin="0,5" Width="180" TextWrapping="Wrap" FontFamily="Portable User Interface" FontSize="11" TextTrimming="None" />
<TextBlock Height="20" ToolTipService.ToolTip="Fetus Presentation" ToolTipService.Placement="Right" Text="Fetus Presentation:"  Margin="0,5" Width="180" TextWrapping="Wrap" FontFamily="Portable User Interface" FontSize="11" TextTrimming="None" />
<TextBlock Height="20" ToolTipService.ToolTip="Start Labor Mode" ToolTipService.Placement="Right" Text="Start Labor Mode:"  Margin="0,5" Width="180" TextWrapping="Wrap" FontFamily="Portable User Interface" FontSize="11" TextTrimming="None" />
<TextBlock Height="20" ToolTipService.ToolTip="Placenta Incomplete" ToolTipService.Placement="Right" Text="Placenta Incomplete:"  Margin="0,5" Width="180" TextWrapping="Wrap" FontFamily="Portable User Interface" FontSize="11" TextTrimming="None" />
<TextBlock Height="20" ToolTipService.ToolTip="Gestational Days" ToolTipService.Placement="Right" Text="Gestational Days:"  Margin="0,5" Width="180" TextWrapping="Wrap" FontFamily="Portable User Interface" FontSize="11" TextTrimming="None" />
<TextBlock Height="20" ToolTipService.ToolTip="Episiotomy" ToolTipService.Placement="Right" Text="Episiotomy:"  Margin="0,5" Width="180" TextWrapping="Wrap" FontFamily="Portable User Interface" FontSize="11" TextTrimming="None" />
<TextBlock Height="20" ToolTipService.ToolTip="Name" ToolTipService.Placement="Right" Text="Name:"  Margin="0,5" Width="180" TextWrapping="Wrap" FontFamily="Portable User Interface" FontSize="11" TextTrimming="None" />

</StackPanel>
<StackPanel Grid.Column="2" Grid.Row="1" Orientation="vertical"  >
<TextBlock  Height="26" HorizontalAlignment="Left" Margin="2" x:Name="Perinatal_idTextBox" Text="{Binding Path=Perinatal_id, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="120" />
<TextBox ToolTipService.ToolTip="Prenatal Evaluations" ToolTipService.Placement="Right" Height="26" HorizontalAlignment="Left" Margin="2" x:Name="prenatal_evaluationsTextBox" Text="{Binding Path=prenatal_evaluations, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="120" HorizontalContentAlignment="Left" />
<TextBox ToolTipService.ToolTip="Gestational Weeks" ToolTipService.Placement="Right" Height="26" HorizontalAlignment="Left" Margin="2" x:Name="gestational_weeksTextBox" Text="{Binding Path=gestational_weeks, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="120" HorizontalContentAlignment="Left" />
<CheckBox ToolTipService.ToolTip="Abortion" ToolTipService.Placement="Right" Content=""  Height="26" HorizontalAlignment="Left" Margin="2" x:Name="abortionCheckBox" IsChecked="{Binding Path=abortion, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="120" HorizontalContentAlignment="Left" />
<CheckBox ToolTipService.ToolTip="Placenta Retained" ToolTipService.Placement="Right" Content=""  Height="26" HorizontalAlignment="Left" Margin="2" x:Name="placenta_retainedCheckBox" IsChecked="{Binding Path=placenta_retained, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="120" HorizontalContentAlignment="Left" />
<CheckBox ToolTipService.ToolTip="Vaginal Tearing" ToolTipService.Placement="Right" Content=""  Height="26" HorizontalAlignment="Left" Margin="2" x:Name="vaginal_tearingCheckBox" IsChecked="{Binding Path=vaginal_tearing, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="120" HorizontalContentAlignment="Left" />
<TextBox ToolTipService.ToolTip="Fetus Presentation" ToolTipService.Placement="Right" Height="26" HorizontalAlignment="Left" Margin="2" x:Name="fetus_presentationTextBox" Text="{Binding Path=fetus_presentation, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="120" HorizontalContentAlignment="Left"  MaxLength="16"/>
<TextBox ToolTipService.ToolTip="Start Labor Mode" ToolTipService.Placement="Right" Height="26" HorizontalAlignment="Left" Margin="2" x:Name="start_labor_modeTextBox" Text="{Binding Path=start_labor_mode, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="120" HorizontalContentAlignment="Left"  MaxLength="16"/>
<CheckBox ToolTipService.ToolTip="Placenta Incomplete" ToolTipService.Placement="Right" Content=""  Height="26" HorizontalAlignment="Left" Margin="2" x:Name="placenta_incompleteCheckBox" IsChecked="{Binding Path=placenta_incomplete, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="120" HorizontalContentAlignment="Left" />
<TextBox ToolTipService.ToolTip="Gestational Days" ToolTipService.Placement="Right" Height="26" HorizontalAlignment="Left" Margin="2" x:Name="gestational_daysTextBox" Text="{Binding Path=gestational_days, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="120" HorizontalContentAlignment="Left" />
<CheckBox ToolTipService.ToolTip="Episiotomy" ToolTipService.Placement="Right" Content=""  Height="26" HorizontalAlignment="Left" Margin="2" x:Name="episiotomyCheckBox" IsChecked="{Binding Path=episiotomy, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="120" HorizontalContentAlignment="Left" />
<TextBox ToolTipService.ToolTip="Name" ToolTipService.Placement="Right" Height="26" HorizontalAlignment="Left" Margin="2" x:Name="nameTextBox" Text="{Binding Path=name, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="120" HorizontalContentAlignment="Left"  MaxLength="128"/>

</StackPanel>
                        <StackPanel Margin="0,10" Grid.Column="0" Grid.Row="2" Orientation="Horizontal"  Grid.ColumnSpan="3">
                            <toolkit:DataForm CommandButtonsVisibility="None" HorizontalAlignment="Center" x:Name="PerinatalsDataForm" VerticalAlignment="Center" Height="23" Width="75" EditEnded="PerinatalsDataForm_EditEnded" AutoCommit="False" AutoEdit="False" AutoGenerateFields="False" IsEnabled="False" Visibility="Collapsed" />
                            <Button x:Name="CancelButton" Content="Cancel" Width="75" Height="23" HorizontalAlignment="Right" Click="CancelButton_Click" />
                            <Button x:Name="OKButton" Content="Save" Width="75" Height="23" HorizontalAlignment="Right" Click="OKButton_Click" />
                        </StackPanel>
           <StackPanel Orientation="Horizontal" Margin="0,20,0,0" Grid.Column="5" Grid.Row="1" >
                <StackPanel Orientation="Vertical" Margin="0,10,0,0" Grid.Column="6" Grid.Row="1" >
                    <TextBlock Height="20" ToolTipService.ToolTip="Notes" ToolTipService.Placement="Right" Text="Notes:"  Margin="0,10,0,0"  Width="180" TextWrapping="Wrap" FontFamily="Portable User Interface" FontSize="11" TextTrimming="None" />
<TextBlock Height="20" ToolTipService.ToolTip="Admission Date" ToolTipService.Placement="Right" Text="Admission Date:"  Margin="0,5" Width="180" TextWrapping="Wrap" FontFamily="Portable User Interface" FontSize="11" TextTrimming="None" />
<TextBlock Height="20" ToolTipService.ToolTip="Forceps" ToolTipService.Placement="Right" Text="Forceps:"  Margin="0,5" Width="180" TextWrapping="Wrap" FontFamily="Portable User Interface" FontSize="11" TextTrimming="None" />
<TextBlock Height="20" ToolTipService.ToolTip="Dismissed" ToolTipService.Placement="Right" Text="Dismissed:"  Margin="0,5" Width="180" TextWrapping="Wrap" FontFamily="Portable User Interface" FontSize="11" TextTrimming="None" />
<TextBlock Height="20" ToolTipService.ToolTip="Gravida Number" ToolTipService.Placement="Right" Text="Gravida Number:"  Margin="0,5" Width="180" TextWrapping="Wrap" FontFamily="Portable User Interface" FontSize="11" TextTrimming="None" />
<TextBlock Height="20" ToolTipService.ToolTip="Died At Delivery" ToolTipService.Placement="Right" Text="Died At Delivery:"  Margin="0,5" Width="180" TextWrapping="Wrap" FontFamily="Portable User Interface" FontSize="11" TextTrimming="None" />
<TextBlock Height="20" ToolTipService.ToolTip="Died Being Transferred" ToolTipService.Placement="Right" Text="Died Being Transferred:"  Margin="0,5" Width="180" TextWrapping="Wrap" FontFamily="Portable User Interface" FontSize="11" TextTrimming="None" />
<TextBlock Height="20" ToolTipService.ToolTip="Died At The Hospital" ToolTipService.Placement="Right" Text="Died At The Hospital:"  Margin="0,5" Width="180" TextWrapping="Wrap" FontFamily="Portable User Interface" FontSize="11" TextTrimming="None" />
<TextBlock Height="20" ToolTipService.ToolTip="Patient Id" ToolTipService.Placement="Right" Text="Patient Id:"  Margin="0,5"  Width="180" TextWrapping="Wrap" FontFamily="Portable User Interface" FontSize="11" TextTrimming="None" />

                </StackPanel>
                <StackPanel Orientation="Vertical" Margin="0,10,0,0" >
                    <TextBox ToolTipService.ToolTip="Notes" ToolTipService.Placement="Right" Height="26" HorizontalAlignment="Left" Margin="2" x:Name="notesTextBox" Text="{Binding Path=notes, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="120" HorizontalContentAlignment="Left"  MaxLength="1000"/>
<sdk:DatePicker ToolTipService.ToolTip="Admission Date" ToolTipService.Placement="Right"  Height="26" HorizontalAlignment="Left" Margin="2" x:Name="admission_dateDatePicker" SelectedDate="{Binding Path=admission_date, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="120" HorizontalContentAlignment="Left" />
<CheckBox ToolTipService.ToolTip="Forceps" ToolTipService.Placement="Right" Content=""  Height="26" HorizontalAlignment="Left" Margin="2" x:Name="forcepsCheckBox" IsChecked="{Binding Path=forceps, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="120" HorizontalContentAlignment="Left" />
<sdk:DatePicker ToolTipService.ToolTip="Dismissed" ToolTipService.Placement="Right"  Height="26" HorizontalAlignment="Left" Margin="2" x:Name="dismissedDatePicker" SelectedDate="{Binding Path=dismissed, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="120" HorizontalContentAlignment="Left" />
<TextBox ToolTipService.ToolTip="Gravida Number" ToolTipService.Placement="Right" Height="26" HorizontalAlignment="Left" Margin="2" x:Name="gravida_numberTextBox" Text="{Binding Path=gravida_number, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="120" HorizontalContentAlignment="Left" />
<CheckBox ToolTipService.ToolTip="Died At Delivery" ToolTipService.Placement="Right" Content=""  Height="26" HorizontalAlignment="Left" Margin="2" x:Name="died_at_deliveryCheckBox" IsChecked="{Binding Path=died_at_delivery, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="120" HorizontalContentAlignment="Left" />
<CheckBox ToolTipService.ToolTip="Died Being Transferred" ToolTipService.Placement="Right" Content=""  Height="26" HorizontalAlignment="Left" Margin="2" x:Name="died_being_transferredCheckBox" IsChecked="{Binding Path=died_being_transferred, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="120" HorizontalContentAlignment="Left" />
<CheckBox ToolTipService.ToolTip="Died At The Hospital" ToolTipService.Placement="Right" Content=""  Height="26" HorizontalAlignment="Left" Margin="2" x:Name="died_at_the_hospitalCheckBox" IsChecked="{Binding Path=died_at_the_hospital, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="120" HorizontalContentAlignment="Left" />
<TextBlock  Height="26" HorizontalAlignment="Left" Margin="2" x:Name="Patient_IdTextBox" Text="{Binding Path=Patient_Id, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true, TargetNullValue=''}" VerticalAlignment="Center" Width="120"  />

                </StackPanel>
            </StackPanel>
    
    
      
        </Grid>
        </ScrollViewer>
        </Border>
    </Grid>
</controls:ChildWindow>
